var TestCardMixin = {
    props: {
        currentQuestion: {
            type: Object,
            default: function() {
                return {}
            }
        },
        articleId: {
            type: String,
            default: ""
        },
        index: {
            type: Number,
            default: -1
        },
        total: {
            type: Number,
            default: 0
        },
    },
    data: function() {
        return {
            answer: null,
            score: 0,
            isCorrect: 0,
        }
    },
    computed: {
        finish: function() {
            return this.index >= this.total - 1
        }
    },
    methods: {}
}

export default TestCardMixin